package com.myproject.mall.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum CommentStatus {
    NO_SCORE(0, "无评分评论"),
    WITH_SCORE(1, "有评分评论"),
    DELETED(9, "删除");

    @EnumValue
    private final Integer status;
    @JsonValue
    private final String msg;
}
